package com.cloudkinto.service.serialmanage;

import com.cloudkinto.entity.SerialNumberManageDo;
import com.baomidou.mybatisplus.extension.service.IService;

import com.cloudkinto.common.web.PageResult;
import com.cloudkinto.common.web.SingleResult;
import com.cloudkinto.service.serialmanage.vo.ProhibitOrRemoveReq;
import com.cloudkinto.service.serialmanage.vo.UpdateStatusReq;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Map;

/**
 * <p>
 *  service接口
 * </p>
 * @author zhujiale
 * @since 2022-09-20
 */
public interface SerialNumberManageService extends IService<SerialNumberManageDo> {
    SingleResult pageInit();

    SingleResult importInit(Long companyId);

    PageResult getListPage(Map<String, String> map);

    Object batchUpdate(ProhibitOrRemoveReq req);

    Object importSerialFile(MultipartFile file, Long orderInputId, Long userId, Long companyId);

    Object exportExcel(Map<String, String> map, String fileName) throws IOException;

    Object batchUpdateStatus(UpdateStatusReq req, Long currentUserId);
}
